replace mergeclink=1 if BPSTPAGB=="HARTING" & STBPCCTYGB=="SUSSEX" & STRGDISTGB== "HASTINGS" & STRGCNTYGB== "SUSSEX"
replace mergeclink=1 if BPSTPAGB=="HERTINGFORDBURY" & STBPCCTYGB=="HERTFORDSHIRE" & STRGDISTGB== "HERTFORD" & STRGCNTYGB== "HERTFORDSHIRE"
replace mergeclink=1 if BPSTPAGB=="NUTHAMPSTEAD" & STBPCCTYGB=="HERTFORDSHIRE" & STRGDISTGB== "BERKHAMPSTEAD" & STRGCNTYGB== "HERTFORDSHIRE"
replace mergeclink=1 if BPSTPAGB=="WHEATHAMPSTEAD" & STBPCCTYGB=="HERTFORDSHIRE" & STRGDISTGB== "BERKHAMPSTEAD" & STRGCNTYGB== "HERTFORDSHIRE"
replace mergeclink=1 if BPSTPAGB=="GREAT BERKHAMPSTEAD" & STBPCCTYGB=="HERTFORDSHIRE" & STRGDISTGB== "BERKHAMPSTEAD" & STRGCNTYGB== "HERTFORDSHIRE"
replace mergeclink=1 if BPSTPAGB=="SPROTBOROUGH" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "SCARBOROUGH" & STRGCNTYGB== "YORKSHIRE NORTH"
replace mergeclink=1 if BPSTPAGB=="SCARCROFT" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "SCARBOROUGH" & STRGCNTYGB== "YORKSHIRE NORTH"
replace mergeclink=1 if BPSTPAGB=="SCORBOROUGH" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "SCARBOROUGH" & STRGCNTYGB== "YORKSHIRE NORTH"
replace mergeclink=1 if BPSTPAGB=="MARTON" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "MALTON" & STRGCNTYGB== "YORKSHIRE NORTH"
replace mergeclink=1 if BPSTPAGB=="SALTON" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "MALTON" & STRGCNTYGB== "YORKSHIRE NORTH"
replace mergeclink=1 if BPSTPAGB=="MALTBY" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "MALTON" & STRGCNTYGB== "YORKSHIRE NORTH"
replace mergeclink=1 if BPSTPAGB=="ELTON" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "MALTON" & STRGCNTYGB== "YORKSHIRE NORTH"
replace mergeclink=1 if BPSTPAGB=="DALTON" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "MALTON" & STRGCNTYGB== "YORKSHIRE NORTH"
replace mergeclink=1 if BPSTPAGB=="WALTON" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "MALTON" & STRGCNTYGB== "YORKSHIRE NORTH"
replace mergeclink=1 if BPSTPAGB=="EASINGTON" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "EASINGWOLD" & STRGCNTYGB== "YORKSHIRE NORTH"
replace mergeclink=1 if BPSTPAGB=="THIRKLEBY" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "THIRSK" & STRGCNTYGB== "YORKSHIRE NORTH"
replace mergeclink=1 if BPSTPAGB=="THIRLBY" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "THIRSK" & STRGCNTYGB== "YORKSHIRE NORTH"
replace mergeclink=1 if BPSTPAGB=="THIRTLEBY" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "THIRSK" & STRGCNTYGB== "YORKSHIRE NORTH"
replace mergeclink=1 if BPSTPAGB=="HEELEY" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "HELMSLEY" & STRGCNTYGB== "YORKSHIRE NORTH"
replace mergeclink=1 if BPSTPAGB=="LELLEY" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "HELMSLEY" & STRGCNTYGB== "YORKSHIRE NORTH"
replace mergeclink=1 if BPSTPAGB=="WHITWELL" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "WHITBY" & STRGCNTYGB== "YORKSHIRE NORTH"
replace mergeclink=1 if BPSTPAGB=="WHITLEY" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "WHITBY" & STRGCNTYGB== "YORKSHIRE NORTH"
replace mergeclink=1 if BPSTPAGB=="WHITWOOD" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "WHITBY" & STRGCNTYGB== "YORKSHIRE NORTH"
replace mergeclink=1 if BPSTPAGB=="WHITGIFT" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "WHITBY" & STRGCNTYGB== "YORKSHIRE NORTH"
replace mergeclink=1 if BPSTPAGB=="CONISBROUGH" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "GUISBROUGH" & STRGCNTYGB== "YORKSHIRE NORTH"
replace mergeclink=1 if BPSTPAGB=="BROUGH" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "GUISBROUGH" & STRGCNTYGB== "YORKSHIRE NORTH"
replace mergeclink=1 if BPSTPAGB=="WORSBROUGH" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "GUISBROUGH" & STRGCNTYGB== "YORKSHIRE NORTH"
replace mergeclink=1 if BPSTPAGB=="GREASBROUGH" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "GUISBROUGH" & STRGCNTYGB== "YORKSHIRE NORTH"
replace mergeclink=1 if BPSTPAGB=="MIDDLEHAM" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "MIDDLESBROUGH" & STRGCNTYGB== "YORKSHIRE NORTH"
replace mergeclink=1 if BPSTPAGB=="MIDDLETON" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "MIDDLESBROUGH" & STRGCNTYGB== "YORKSHIRE NORTH"
replace mergeclink=1 if BPSTPAGB=="ALLERTON-MAULEVERER WITH HOPPERTON" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "NORTHALLERTON" & STRGCNTYGB== "YORKSHIRE NORTH"
replace mergeclink=1 if BPSTPAGB=="ALLERTON" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "NORTHALLERTON" & STRGCNTYGB== "YORKSHIRE NORTH"
replace mergeclink=1 if BPSTPAGB=="NORTH CAVE AND DREWTON WITH EVERTHORPE" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "NORTHALLERTON" & STRGCNTYGB== "YORKSHIRE NORTH"
replace mergeclink=1 if BPSTPAGB=="NORTH BIERLEY" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "NORTHALLERTON" & STRGCNTYGB== "YORKSHIRE NORTH"
replace mergeclink=1 if BPSTPAGB=="NORTH DALTON" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "NORTHALLERTON" & STRGCNTYGB== "YORKSHIRE NORTH"
replace mergeclink=1 if BPSTPAGB=="NORTH COWTON" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "NORTHALLERTON" & STRGCNTYGB== "YORKSHIRE NORTH"
replace mergeclink=1 if BPSTPAGB=="NORTH ELMSALL" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "NORTHALLERTON" & STRGCNTYGB== "YORKSHIRE NORTH"
replace mergeclink=1 if BPSTPAGB=="NORTON" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "NORTHALLERTON" & STRGCNTYGB== "YORKSHIRE NORTH"
replace mergeclink=1 if BPSTPAGB=="NORTON-CONYERS" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "NORTHALLERTON" & STRGCNTYGB== "YORKSHIRE NORTH"
replace mergeclink=1 if BPSTPAGB=="NORTON-LE-CLAY" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "NORTHALLERTON" & STRGCNTYGB== "YORKSHIRE NORTH"
replace mergeclink=1 if BPSTPAGB=="NORTH THORESBY" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "NORTHALLERTON" & STRGCNTYGB== "YORKSHIRE NORTH"
replace mergeclink=1 if BPSTPAGB=="TOLLERTON" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "NORTHALLERTON" & STRGCNTYGB== "YORKSHIRE NORTH"
replace mergeclink=1 if BPSTPAGB=="BURN" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "LEYBURN" & STRGCNTYGB== "YORKSHIRE NORTH"
replace mergeclink=1 if BPSTPAGB=="RISBY" & STBPCCTYGB=="SUFFOLK" & STRGDISTGB== "RISBRIDGE" & STRGCNTYGB== "SUFFOLK"
replace mergeclink=1 if BPSTPAGB=="SUDBOURNE" & STBPCCTYGB=="SUFFOLK" & STRGDISTGB== "SUDBURY" & STRGCNTYGB== "SUFFOLK"
replace mergeclink=1 if BPSTPAGB=="CRANSFORD" & STBPCCTYGB=="SUFFOLK" & STRGDISTGB== "COSFORD" & STRGCNTYGB== "SUFFOLK"
replace mergeclink=1 if BPSTPAGB=="ORFORD" & STBPCCTYGB=="SUFFOLK" & STRGDISTGB== "COSFORD" & STRGCNTYGB== "SUFFOLK"
replace mergeclink=1 if BPSTPAGB=="BURES ST MARY" & STBPCCTYGB=="SUFFOLK" & STRGDISTGB== "BURY ST EDMUNDS" & STRGCNTYGB== "SUFFOLK"
replace mergeclink=1 if BPSTPAGB=="STOVEN" & STBPCCTYGB=="SUFFOLK" & STRGDISTGB== "STOW" & STRGCNTYGB== "SUFFOLK"
replace mergeclink=1 if BPSTPAGB=="STUSTON" & STBPCCTYGB=="SUFFOLK" & STRGDISTGB== "STOW" & STRGCNTYGB== "SUFFOLK"
replace mergeclink=1 if BPSTPAGB=="TOSTOCK" & STBPCCTYGB=="SUFFOLK" & STRGDISTGB== "STOW" & STRGCNTYGB== "SUFFOLK"
replace mergeclink=1 if BPSTPAGB=="STOWMARKET" & STBPCCTYGB=="SUFFOLK" & STRGDISTGB== "STOW" & STRGCNTYGB== "SUFFOLK"
replace mergeclink=1 if BPSTPAGB=="STOWLANGTOFT" & STBPCCTYGB=="SUFFOLK" & STRGDISTGB== "STOW" & STRGCNTYGB== "SUFFOLK"
replace mergeclink=1 if BPSTPAGB=="HARTEST" & STBPCCTYGB=="SUFFOLK" & STRGDISTGB== "HARTISMERE" & STRGCNTYGB== "SUFFOLK"
replace mergeclink=1 if BPSTPAGB=="BRAMFORD" & STBPCCTYGB=="SUFFOLK" & STRGDISTGB== "SAMFORD" & STRGCNTYGB== "SUFFOLK"
replace mergeclink=1 if BPSTPAGB=="ORFORD" & STBPCCTYGB=="SUFFOLK" & STRGDISTGB== "SAMFORD" & STRGCNTYGB== "SUFFOLK"
replace mergeclink=1 if BPSTPAGB=="BLYTHBURGH" & STBPCCTYGB=="SUFFOLK" & STRGDISTGB== "BLYTHING" & STRGCNTYGB== "SUFFOLK"
replace mergeclink=1 if BPSTPAGB=="WESTON" & STBPCCTYGB=="MIDDLESEX" & STRGDISTGB== "WESTMINSTER" & STRGCNTYGB== "MIDDLESEX"
replace mergeclink=1 if BPSTPAGB=="WESTLEY-WATERLESS" & STBPCCTYGB=="MIDDLESEX" & STRGDISTGB== "WESTMINSTER" & STRGCNTYGB== "MIDDLESEX"
replace mergeclink=1 if BPSTPAGB=="ST GEORGE" & STBPCCTYGB=="MIDDLESEX" & STRGDISTGB== "ST GILES" & STRGCNTYGB== "MIDDLESEX"
replace mergeclink=1 if BPSTPAGB=="ST CLEMENT DANES" & STBPCCTYGB=="MIDDLESEX" & STRGDISTGB== "ST GILES" & STRGCNTYGB== "MIDDLESEX"
replace mergeclink=1 if BPSTPAGB=="ST GREGORY BY ST PAUL" & STBPCCTYGB=="MIDDLESEX" & STRGDISTGB== "ST GILES" & STRGCNTYGB== "MIDDLESEX"
replace mergeclink=1 if BPSTPAGB=="STANDON" & STBPCCTYGB=="MIDDLESEX" & STRGDISTGB== "STRAND" & STRGCNTYGB== "MIDDLESEX"
replace mergeclink=1 if BPSTPAGB=="HORNBY" & STBPCCTYGB=="MIDDLESEX" & STRGDISTGB== "HOLBORN" & STRGCNTYGB== "MIDDLESEX"
replace mergeclink=1 if BPSTPAGB=="BRENDON" & STBPCCTYGB=="MIDDLESEX" & STRGDISTGB== "BRENTFORD" & STRGCNTYGB== "MIDDLESEX"
replace mergeclink=1 if BPSTPAGB=="BARNES" & STBPCCTYGB=="MIDDLESEX" & STRGDISTGB== "BARNET" & STRGCNTYGB== "MIDDLESEX"
replace mergeclink=1 if BPSTPAGB=="SHIPTON" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "SKIPTON" & STRGCNTYGB== "YORKSHIRE WEST"
replace mergeclink=1 if BPSTPAGB=="SKIPSEA" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "SKIPTON" & STRGCNTYGB== "YORKSHIRE WEST"
replace mergeclink=1 if BPSTPAGB=="GREAT HOUGHTON" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "GREAT OUSEBURN" & STRGCNTYGB== "YORKSHIRE WEST"
replace mergeclink=1 if BPSTPAGB=="GREAT AYTON" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "GREAT OUSEBURN" & STRGCNTYGB== "YORKSHIRE WEST"
replace mergeclink=1 if BPSTPAGB=="GREAT SMEATON" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "GREAT OUSEBURN" & STRGCNTYGB== "YORKSHIRE WEST"
replace mergeclink=1 if BPSTPAGB=="KEARBY WITH NETHERBY" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "WETHERBY" & STRGCNTYGB== "YORKSHIRE WEST"
replace mergeclink=1 if BPSTPAGB=="AMOTHERBY" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "WETHERBY" & STRGCNTYGB== "YORKSHIRE WEST"
replace mergeclink=1 if BPSTPAGB=="BRADFIELD" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "BRADFORD" & STRGCNTYGB== "YORKSHIRE WEST"
replace mergeclink=1 if BPSTPAGB=="LEDSHAM" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "LEEDS" & STRGCNTYGB== "YORKSHIRE WEST"
replace mergeclink=1 if BPSTPAGB=="KELFIELD" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "WAKEFIELD" & STRGCNTYGB== "YORKSHIRE WEST"
replace mergeclink=1 if BPSTPAGB=="ALDFIELD" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "WAKEFIELD" & STRGCNTYGB== "YORKSHIRE WEST"
replace mergeclink=1 if BPSTPAGB=="HUNSWORTH" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "HEMSWORTH" & STRGCNTYGB== "YORKSHIRE WEST"
replace mergeclink=1 if BPSTPAGB=="HEPWORTH" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "HEMSWORTH" & STRGCNTYGB== "YORKSHIRE WEST"
replace mergeclink=1 if BPSTPAGB=="HEWORTH" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "HEMSWORTH" & STRGCNTYGB== "YORKSHIRE WEST"
replace mergeclink=1 if BPSTPAGB=="WARMSWORTH" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "HEMSWORTH" & STRGCNTYGB== "YORKSHIRE WEST"
replace mergeclink=1 if BPSTPAGB=="BARNBY" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "BARNSLEY" & STRGCNTYGB== "YORKSHIRE WEST"
replace mergeclink=1 if BPSTPAGB=="ECCLESHILL" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "ECCLESALL BIERLOW" & STRGCNTYGB== "YORKSHIRE WEST"
replace mergeclink=1 if BPSTPAGB=="ECCLESFIELD" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "ECCLESALL BIERLOW" & STRGCNTYGB== "YORKSHIRE WEST"
replace mergeclink=1 if BPSTPAGB=="HELLIFIELD" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "SHEFFIELD" & STRGCNTYGB== "YORKSHIRE WEST"
replace mergeclink=1 if BPSTPAGB=="ALDFIELD" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "SHEFFIELD" & STRGCNTYGB== "YORKSHIRE WEST"
replace mergeclink=1 if BPSTPAGB=="CRATHORNE" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "THORNE" & STRGCNTYGB== "YORKSHIRE WEST"
replace mergeclink=1 if BPSTPAGB=="THORNVILLE" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "THORNE" & STRGCNTYGB== "YORKSHIRE WEST"
replace mergeclink=1 if BPSTPAGB=="THORALBY" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "THORNE" & STRGCNTYGB== "YORKSHIRE WEST"
replace mergeclink=1 if BPSTPAGB=="THORPE" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "THORNE" & STRGCNTYGB== "YORKSHIRE WEST"
replace mergeclink=1 if BPSTPAGB=="OWTHORNE" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "THORNE" & STRGCNTYGB== "YORKSHIRE WEST"
replace mergeclink=1 if BPSTPAGB=="THORNGUMBALD" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "THORNE" & STRGCNTYGB== "YORKSHIRE WEST"
replace mergeclink=1 if BPSTPAGB=="THORNBROUGH" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "THORNE" & STRGCNTYGB== "YORKSHIRE WEST"
replace mergeclink=1 if BPSTPAGB=="THORNHILL" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "THORNE" & STRGCNTYGB== "YORKSHIRE WEST"
replace mergeclink=1 if BPSTPAGB=="CAWTHORNE" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "THORNE" & STRGCNTYGB== "YORKSHIRE WEST"
replace mergeclink=1 if BPSTPAGB=="THORNHOLME" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "THORNE" & STRGCNTYGB== "YORKSHIRE WEST"
replace mergeclink=1 if BPSTPAGB=="LANGTHORNE" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "THORNE" & STRGCNTYGB== "YORKSHIRE WEST"
replace mergeclink=1 if BPSTPAGB=="THORNTON DALE" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "THORNE" & STRGCNTYGB== "YORKSHIRE WEST"
replace mergeclink=1 if BPSTPAGB=="THORP ARCH" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "THORNE" & STRGCNTYGB== "YORKSHIRE WEST"
replace mergeclink=1 if BPSTPAGB=="THOLTHORPE" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "THORNE" & STRGCNTYGB== "YORKSHIRE WEST"
replace mergeclink=1 if BPSTPAGB=="THORNER" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "THORNE" & STRGCNTYGB== "YORKSHIRE WEST"
replace mergeclink=1 if BPSTPAGB=="ASSELBY" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "SELBY" & STRGCNTYGB== "YORKSHIRE WEST"
replace mergeclink=1 if BPSTPAGB=="BIELBY" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "SELBY" & STRGCNTYGB== "YORKSHIRE WEST"
replace mergeclink=1 if BPSTPAGB=="NEWTON-TRACEY" & STBPCCTYGB=="DEVONSHIRE" & STRGDISTGB== "NEWTON ABBOT" & STRGCNTYGB== "DEVONSHIRE"
replace mergeclink=1 if BPSTPAGB=="NEWTON ST PETROCK" & STBPCCTYGB=="DEVONSHIRE" & STRGDISTGB== "NEWTON ABBOT" & STRGCNTYGB== "DEVONSHIRE"
replace mergeclink=1 if BPSTPAGB=="MILTON ABBOT" & STBPCCTYGB=="DEVONSHIRE" & STRGDISTGB== "NEWTON ABBOT" & STRGCNTYGB== "DEVONSHIRE"
replace mergeclink=1 if BPSTPAGB=="NEWTON ST CYRES" & STBPCCTYGB=="DEVONSHIRE" & STRGDISTGB== "NEWTON ABBOT" & STRGCNTYGB== "DEVONSHIRE"
replace mergeclink=1 if BPSTPAGB=="STOKENHAM" & STBPCCTYGB=="DEVONSHIRE" & STRGDISTGB== "STOKE-DAMEREL" & STRGCNTYGB== "DEVONSHIRE"
replace mergeclink=1 if BPSTPAGB=="ATHERINGTON" & STBPCCTYGB=="DEVONSHIRE" & STRGDISTGB== "TORRINGTON" & STRGCNTYGB== "DEVONSHIRE"
replace mergeclink=1 if BPSTPAGB=="BURRINGTON" & STBPCCTYGB=="DEVONSHIRE" & STRGDISTGB== "TORRINGTON" & STRGCNTYGB== "DEVONSHIRE"
replace mergeclink=1 if BPSTPAGB=="ASHPRINGTON" & STBPCCTYGB=="DEVONSHIRE" & STRGDISTGB== "TORRINGTON" & STRGCNTYGB== "DEVONSHIRE"
replace mergeclink=1 if BPSTPAGB=="WERRINGTON" & STBPCCTYGB=="DEVONSHIRE" & STRGDISTGB== "TORRINGTON" & STRGCNTYGB== "DEVONSHIRE"
replace mergeclink=1 if BPSTPAGB=="LITTON" & STBPCCTYGB=="SOMERSET" & STRGDISTGB== "WILLITON" & STRGCNTYGB== "SOMERSET"
replace mergeclink=1 if BPSTPAGB=="WILTON" & STBPCCTYGB=="SOMERSET" & STRGDISTGB== "WILLITON" & STRGCNTYGB== "SOMERSET"
replace mergeclink=1 if BPSTPAGB=="LANGRIDGE" & STBPCCTYGB=="SOMERSET" & STRGDISTGB== "LANGPORT" & STRGCNTYGB== "SOMERSET"
replace mergeclink=1 if BPSTPAGB=="MELLS" & STBPCCTYGB=="SOMERSET" & STRGDISTGB== "WELLS" & STRGCNTYGB== "SOMERSET"
replace mergeclink=1 if BPSTPAGB=="SWELL" & STBPCCTYGB=="SOMERSET" & STRGDISTGB== "WELLS" & STRGCNTYGB== "SOMERSET"
replace mergeclink=1 if BPSTPAGB=="WELLOW" & STBPCCTYGB=="SOMERSET" & STRGDISTGB== "WELLS" & STRGCNTYGB== "SOMERSET"
replace mergeclink=1 if BPSTPAGB=="HORSFORD" & STBPCCTYGB=="NORFOLK" & STRGDISTGB== "FOREHOE" & STRGCNTYGB== "NORFOLK"
replace mergeclink=1 if BPSTPAGB=="HEMPSTEAD" & STBPCCTYGB=="NORFOLK" & STRGDISTGB== "HENSTEAD" & STRGCNTYGB== "NORFOLK"
replace mergeclink=1 if BPSTPAGB=="IRSTEAD" & STBPCCTYGB=="NORFOLK" & STRGDISTGB== "HENSTEAD" & STRGCNTYGB== "NORFOLK"
replace mergeclink=1 if BPSTPAGB=="SUSTEAD" & STBPCCTYGB=="NORFOLK" & STRGDISTGB== "HENSTEAD" & STRGCNTYGB== "NORFOLK"
replace mergeclink=1 if BPSTPAGB=="TUNSTEAD" & STBPCCTYGB=="NORFOLK" & STRGDISTGB== "HENSTEAD" & STRGCNTYGB== "NORFOLK"
replace mergeclink=1 if BPSTPAGB=="HORSFORD" & STBPCCTYGB=="NORFOLK" & STRGDISTGB== "MITFORD" & STRGCNTYGB== "NORFOLK"
replace mergeclink=1 if BPSTPAGB=="DERSINGHAM" & STBPCCTYGB=="NORFOLK" & STRGDISTGB== "WALSINGHAM" & STRGCNTYGB== "NORFOLK"
replace mergeclink=1 if BPSTPAGB=="BESSINGHAM" & STBPCCTYGB=="NORFOLK" & STRGDISTGB== "WALSINGHAM" & STRGCNTYGB== "NORFOLK"
replace mergeclink=1 if BPSTPAGB=="BRESSINGHAM" & STBPCCTYGB=="NORFOLK" & STRGDISTGB== "WALSINGHAM" & STRGCNTYGB== "NORFOLK"
replace mergeclink=1 if BPSTPAGB=="SHINGHAM" & STBPCCTYGB=="NORFOLK" & STRGDISTGB== "WALSINGHAM" & STRGCNTYGB== "NORFOLK"
replace mergeclink=1 if BPSTPAGB=="GRESSINGHAM" & STBPCCTYGB=="NORFOLK" & STRGDISTGB== "WALSINGHAM" & STRGCNTYGB== "NORFOLK"
replace mergeclink=1 if BPSTPAGB=="INGHAM" & STBPCCTYGB=="NORFOLK" & STRGDISTGB== "WALSINGHAM" & STRGCNTYGB== "NORFOLK"
replace mergeclink=1 if BPSTPAGB=="WRAMPLINGHAM" & STBPCCTYGB=="NORFOLK" & STRGDISTGB== "WALSINGHAM" & STRGCNTYGB== "NORFOLK"
replace mergeclink=1 if BPSTPAGB=="LESSINGHAM" & STBPCCTYGB=="NORFOLK" & STRGDISTGB== "WALSINGHAM" & STRGCNTYGB== "NORFOLK"
replace mergeclink=1 if BPSTPAGB=="HINDRINGHAM" & STBPCCTYGB=="NORFOLK" & STRGDISTGB== "WALSINGHAM" & STRGCNTYGB== "NORFOLK"
replace mergeclink=1 if BPSTPAGB=="HARDINGHAM" & STBPCCTYGB=="NORFOLK" & STRGDISTGB== "WALSINGHAM" & STRGCNTYGB== "NORFOLK"
replace mergeclink=1 if BPSTPAGB=="BRININGHAM" & STBPCCTYGB=="NORFOLK" & STRGDISTGB== "WALSINGHAM" & STRGCNTYGB== "NORFOLK"
replace mergeclink=1 if BPSTPAGB=="WALSOKEN" & STBPCCTYGB=="NORFOLK" & STRGDISTGB== "WALSINGHAM" & STRGCNTYGB== "NORFOLK"
replace mergeclink=1 if BPSTPAGB=="HINGHAM" & STBPCCTYGB=="NORFOLK" & STRGDISTGB== "WALSINGHAM" & STRGCNTYGB== "NORFOLK"
replace mergeclink=1 if BPSTPAGB=="HASSINGHAM" & STBPCCTYGB=="NORFOLK" & STRGDISTGB== "WALSINGHAM" & STRGCNTYGB== "NORFOLK"
replace mergeclink=1 if BPSTPAGB=="HETHERSETT" & STBPCCTYGB=="NORFOLK" & STRGDISTGB== "THETFORD" & STRGCNTYGB== "NORFOLK"
replace mergeclink=1 if BPSTPAGB=="THURSFORD" & STBPCCTYGB=="NORFOLK" & STRGDISTGB== "THETFORD" & STRGCNTYGB== "NORFOLK"
replace mergeclink=1 if BPSTPAGB=="HETHEL" & STBPCCTYGB=="NORFOLK" & STRGDISTGB== "THETFORD" & STRGCNTYGB== "NORFOLK"
replace mergeclink=1 if BPSTPAGB=="LAUNCELLS" & STBPCCTYGB=="CORNWALL" & STRGDISTGB== "LAUNCESTON" & STRGCNTYGB== "CORNWALL"
replace mergeclink=1 if BPSTPAGB=="ST CLEER" & STBPCCTYGB=="CORNWALL" & STRGDISTGB== "ST COLUMB" & STRGCNTYGB== "CORNWALL"
replace mergeclink=1 if BPSTPAGB=="CASTLE CARROCK" & STBPCCTYGB=="CUMBERLAND" & STRGDISTGB== "CASTLE WARD" & STRGCNTYGB== "NORTHUMBERLAND"
replace mergeclink=1 if BPSTPAGB=="ABBERWICK" & STBPCCTYGB=="NORTHUMBERLAND" & STRGDISTGB== "BERWICK" & STRGCNTYGB== "NORTHUMBERLAND"
replace mergeclink=1 if BPSTPAGB=="ALLENDALE" & STBPCCTYGB=="NORTHUMBERLAND" & STRGDISTGB== "GLENDALE" & STRGCNTYGB== "NORTHUMBERLAND"
replace mergeclink=1 if BPSTPAGB=="MORDIFORD" & STBPCCTYGB=="HEREFORDSHIRE" & STRGDISTGB== "HEREFORD" & STRGCNTYGB== "HEREFORDSHIRE"
replace mergeclink=1 if BPSTPAGB=="LONG WITTON" & STBPCCTYGB=="NORTHUMBERLAND" & STRGDISTGB== "LONGTOWN" & STRGCNTYGB== "CUMBERLAND"
replace mergeclink=1 if BPSTPAGB=="LONG FRAMLINGTON" & STBPCCTYGB=="NORTHUMBERLAND" & STRGDISTGB== "LONGTOWN" & STRGCNTYGB== "CUMBERLAND"
replace mergeclink=1 if BPSTPAGB=="LONGBENTON" & STBPCCTYGB=="NORTHUMBERLAND" & STRGDISTGB== "LONGTOWN" & STRGCNTYGB== "CUMBERLAND"
replace mergeclink=1 if BPSTPAGB=="STOCKLEY" & STBPCCTYGB=="DURHAM" & STRGDISTGB== "STOCKTON" & STRGCNTYGB== "DURHAM"
replace mergeclink=1 if BPSTPAGB=="ABERPORTH" & STBPCCTYGB=="CARDIGANSHIRE" & STRGDISTGB== "ABERAYRON" & STRGCNTYGB== "CARDIGANSHIRE"
replace mergeclink=1 if BPSTPAGB=="ABERFFRWD" & STBPCCTYGB=="CARDIGANSHIRE" & STRGDISTGB== "ABERAYRON" & STRGCNTYGB== "CARDIGANSHIRE"
replace mergeclink=1 if BPSTPAGB=="ABERAVON" & STBPCCTYGB=="CARDIGANSHIRE" & STRGDISTGB== "ABERAYRON" & STRGCNTYGB== "CARDIGANSHIRE"
replace mergeclink=1 if BPSTPAGB=="LLANDDAROG" & STBPCCTYGB=="CARMARTHENSHIRE" & STRGDISTGB== "LLANDOVERY" & STRGCNTYGB== "CARMARTHENSHIRE"
replace mergeclink=1 if BPSTPAGB=="LLANNON" & STBPCCTYGB=="CARMARTHENSHIRE" & STRGDISTGB== "LLANDOVERY" & STRGCNTYGB== "CARMARTHENSHIRE"
replace mergeclink=1 if BPSTPAGB=="LLANDEBIE" & STBPCCTYGB=="CARMARTHENSHIRE" & STRGDISTGB== "LLANDOVERY" & STRGCNTYGB== "CARMARTHENSHIRE"
replace mergeclink=1 if BPSTPAGB=="LLANEDY" & STBPCCTYGB=="CARMARTHENSHIRE" & STRGDISTGB== "LLANDOVERY" & STRGCNTYGB== "CARMARTHENSHIRE"
replace mergeclink=1 if BPSTPAGB=="LLANDOWROR" & STBPCCTYGB=="CARMARTHENSHIRE" & STRGDISTGB== "LLANDOVERY" & STRGCNTYGB== "CARMARTHENSHIRE"
replace mergeclink=1 if BPSTPAGB=="LLANGELER" & STBPCCTYGB=="CARMARTHENSHIRE" & STRGDISTGB== "LLANDOVERY" & STRGCNTYGB== "CARMARTHENSHIRE"
replace mergeclink=1 if BPSTPAGB=="LLANGADOCK" & STBPCCTYGB=="CARMARTHENSHIRE" & STRGDISTGB== "LLANDOVERY" & STRGCNTYGB== "CARMARTHENSHIRE"
replace mergeclink=1 if BPSTPAGB=="LLANSTEPHAN" & STBPCCTYGB=="CARMARTHENSHIRE" & STRGDISTGB== "LLANDOVERY" & STRGCNTYGB== "CARMARTHENSHIRE"
replace mergeclink=1 if BPSTPAGB=="LLANLLAWDDOG" & STBPCCTYGB=="CARMARTHENSHIRE" & STRGDISTGB== "LLANDOVERY" & STRGCNTYGB== "CARMARTHENSHIRE"
replace mergeclink=1 if BPSTPAGB=="LLANYBYTHER" & STBPCCTYGB=="CARMARTHENSHIRE" & STRGDISTGB== "LLANDOVERY" & STRGCNTYGB== "CARMARTHENSHIRE"
replace mergeclink=1 if BPSTPAGB=="LLANDYFEISANT" & STBPCCTYGB=="CARMARTHENSHIRE" & STRGDISTGB== "LLANDOVERY" & STRGCNTYGB== "CARMARTHENSHIRE"
replace mergeclink=1 if BPSTPAGB=="LLANGAIN" & STBPCCTYGB=="CARMARTHENSHIRE" & STRGDISTGB== "LLANDOVERY" & STRGCNTYGB== "CARMARTHENSHIRE"
replace mergeclink=1 if BPSTPAGB=="LLANLLWNY" & STBPCCTYGB=="CARMARTHENSHIRE" & STRGDISTGB== "LLANDOVERY" & STRGCNTYGB== "CARMARTHENSHIRE"
replace mergeclink=1 if BPSTPAGB=="LLANDEFEILOG" & STBPCCTYGB=="CARMARTHENSHIRE" & STRGDISTGB== "LLANDILOFAWR" & STRGCNTYGB== "CARMARTHENSHIRE"
replace mergeclink=1 if BPSTPAGB=="LLANDINGAT" & STBPCCTYGB=="CARMARTHENSHIRE" & STRGDISTGB== "LLANDILOFAWR" & STRGCNTYGB== "CARMARTHENSHIRE"
replace mergeclink=1 if BPSTPAGB=="LLANWRDA" & STBPCCTYGB=="CARMARTHENSHIRE" & STRGDISTGB== "LLANDILOFAWR" & STRGCNTYGB== "CARMARTHENSHIRE"
replace mergeclink=1 if BPSTPAGB=="LLANSADWRN" & STBPCCTYGB=="CARMARTHENSHIRE" & STRGDISTGB== "LLANDILOFAWR" & STRGCNTYGB== "CARMARTHENSHIRE"
replace mergeclink=1 if BPSTPAGB=="LLANDAWKE" & STBPCCTYGB=="CARMARTHENSHIRE" & STRGDISTGB== "LLANDILOFAWR" & STRGCNTYGB== "CARMARTHENSHIRE"
replace mergeclink=1 if BPSTPAGB=="LLANSAWEL" & STBPCCTYGB=="CARMARTHENSHIRE" & STRGDISTGB== "LLANDILOFAWR" & STRGCNTYGB== "CARMARTHENSHIRE"
replace mergeclink=1 if BPSTPAGB=="STICKFORD" & STBPCCTYGB=="LINCOLNSHIRE" & STRGDISTGB== "STAMFORD" & STRGCNTYGB== "LINCOLNSHIRE"
replace mergeclink=1 if BPSTPAGB=="STAPLEFORD" & STBPCCTYGB=="LINCOLNSHIRE" & STRGDISTGB== "STAMFORD" & STRGCNTYGB== "LINCOLNSHIRE"
replace mergeclink=1 if BPSTPAGB=="ABBINGDON" & STBPCCTYGB=="BERKSHIRE" & STRGDISTGB== "FARINGDON" & STRGCNTYGB== "BERKSHIRE"
replace mergeclink=1 if BPSTPAGB=="WALLINGFEN" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "WALLINGFORD" & STRGCNTYGB== "BERKSHIRE"
replace mergeclink=1 if BPSTPAGB=="WALLINGWELLS" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "WALLINGFORD" & STRGCNTYGB== "BERKSHIRE"
replace mergeclink=1 if BPSTPAGB=="SHELLINGFORD" & STBPCCTYGB=="BERKSHIRE" & STRGDISTGB== "WALLINGFORD" & STRGCNTYGB== "BERKSHIRE"
replace mergeclink=1 if BPSTPAGB=="PORTSMOUTH" & STBPCCTYGB=="HAMPSHIRE" & STRGDISTGB== "PORTSEA ISLAND" & STRGCNTYGB== "HAMPSHIRE"
replace mergeclink=1 if BPSTPAGB=="NEW ALRESFORD" & STBPCCTYGB=="HAMPSHIRE" & STRGDISTGB== "NEW FOREST" & STRGCNTYGB== "HAMPSHIRE"
replace mergeclink=1 if BPSTPAGB=="ROMSLEY" & STBPCCTYGB=="SHROPSHIRE" & STRGDISTGB== "ROMSEY" & STRGCNTYGB== "HAMPSHIRE"
replace mergeclink=1 if BPSTPAGB=="CHARMINSTER" & STBPCCTYGB=="DORSET" & STRGDISTGB== "STURMINSTER" & STRGCNTYGB== "DORSET"
replace mergeclink=1 if BPSTPAGB=="AXMINSTER" & STBPCCTYGB=="DORSET" & STRGDISTGB== "STURMINSTER" & STRGCNTYGB== "DORSET"
replace mergeclink=1 if BPSTPAGB=="YETMINSTER" & STBPCCTYGB=="DORSET" & STRGDISTGB== "STURMINSTER" & STRGCNTYGB== "DORSET"
replace mergeclink=1 if BPSTPAGB=="OBORNE" & STBPCCTYGB=="DORSET" & STRGDISTGB== "WIMBORNE" & STRGCNTYGB== "DORSET"
replace mergeclink=1 if BPSTPAGB=="COWBRIDGE" & STBPCCTYGB=="GLAMORGANSHIRE" & STRGDISTGB== "BRIDGEND" & STRGCNTYGB== "GLAMORGANSHIRE"
replace mergeclink=1 if BPSTPAGB=="STEMBRIDGE" & STBPCCTYGB=="GLAMORGANSHIRE" & STRGDISTGB== "BRIDGEND" & STRGCNTYGB== "GLAMORGANSHIRE"
replace mergeclink=1 if BPSTPAGB=="WESTLEIGH" & STBPCCTYGB=="LANCASHIRE" & STRGDISTGB== "LEIGH" & STRGCNTYGB== "LANCASHIRE"
replace mergeclink=1 if BPSTPAGB=="ELTON" & STBPCCTYGB=="LANCASHIRE" & STRGDISTGB== "BOLTON" & STRGCNTYGB== "LANCASHIRE"
replace mergeclink=1 if BPSTPAGB=="BOLD" & STBPCCTYGB=="LANCASHIRE" & STRGDISTGB== "BOLTON" & STRGCNTYGB== "LANCASHIRE"
replace mergeclink=1 if BPSTPAGB=="COLTON" & STBPCCTYGB=="LANCASHIRE" & STRGDISTGB== "BOLTON" & STRGCNTYGB== "LANCASHIRE"
replace mergeclink=1 if BPSTPAGB=="BLEASDALE" & STBPCCTYGB=="LANCASHIRE" & STRGDISTGB== "LUNESDALE" & STRGCNTYGB== "LANCASHIRE"
replace mergeclink=1 if BPSTPAGB=="POLLINGTON" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "POCKLINGTON" & STRGCNTYGB== "YORKSHIRE EAST"
replace mergeclink=1 if BPSTPAGB=="LOCKINGTON" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "POCKLINGTON" & STRGCNTYGB== "YORKSHIRE EAST"
replace mergeclink=1 if BPSTPAGB=="BEWERLEY" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "BEVERLEY" & STRGCNTYGB== "YORKSHIRE EAST"
replace mergeclink=1 if BPSTPAGB=="SINNINGTON" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "PATRINGTON" & STRGCNTYGB== "YORKSHIRE EAST"
replace mergeclink=1 if BPSTPAGB=="DINNINGTON" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "PATRINGTON" & STRGCNTYGB== "YORKSHIRE EAST"
replace mergeclink=1 if BPSTPAGB=="EASTRINGTON" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "PATRINGTON" & STRGCNTYGB== "YORKSHIRE EAST"
replace mergeclink=1 if BPSTPAGB=="RIMMINGTON" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "PATRINGTON" & STRGCNTYGB== "YORKSHIRE EAST"
replace mergeclink=1 if BPSTPAGB=="DARRINGTON" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "PATRINGTON" & STRGCNTYGB== "YORKSHIRE EAST"
replace mergeclink=1 if BPSTPAGB=="SETTRINGTON" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "PATRINGTON" & STRGCNTYGB== "YORKSHIRE EAST"
replace mergeclink=1 if BPSTPAGB=="PATRICK-BROMPTON" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "PATRINGTON" & STRGCNTYGB== "YORKSHIRE EAST"
replace mergeclink=1 if BPSTPAGB=="HELLIFIELD" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "DRIFFIELD" & STRGCNTYGB== "YORKSHIRE EAST"
replace mergeclink=1 if BPSTPAGB=="ALDFIELD" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "DRIFFIELD" & STRGCNTYGB== "YORKSHIRE EAST"
replace mergeclink=1 if BPSTPAGB=="DRIGHLINGTON" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "BRIDLINGTON" & STRGCNTYGB== "YORKSHIRE EAST"
replace mergeclink=1 if BPSTPAGB=="KNEDLINGTON" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "BRIDLINGTON" & STRGCNTYGB== "YORKSHIRE EAST"
replace mergeclink=1 if BPSTPAGB=="RILLINGTON" & STBPCCTYGB=="YORKSHIRE" & STRGDISTGB== "BRIDLINGTON" & STRGCNTYGB== "YORKSHIRE EAST"
replace mergeclink=1 if BPSTPAGB=="CHICKLADE" & STBPCCTYGB=="WILTSHIRE" & STRGDISTGB== "CRICKLADE" & STRGCNTYGB== "WILTSHIRE"
replace mergeclink=1 if BPSTPAGB=="BROKENBOROUGH" & STBPCCTYGB=="WILTSHIRE" & STRGDISTGB== "MARLBOROUGH" & STRGCNTYGB== "WILTSHIRE"
replace mergeclink=1 if BPSTPAGB=="WANBOROUGH" & STBPCCTYGB=="WILTSHIRE" & STRGDISTGB== "MARLBOROUGH" & STRGCNTYGB== "WILTSHIRE"
replace mergeclink=1 if BPSTPAGB=="SALISBURY" & STBPCCTYGB=="WILTSHIRE" & STRGDISTGB== "TISBURY" & STRGCNTYGB== "WILTSHIRE"
replace mergeclink=1 if BPSTPAGB=="NORTHAW" & STBPCCTYGB=="KENT" & STRGDISTGB== "NORTH AYLESFORD" & STRGCNTYGB== "KENT"
replace mergeclink=1 if BPSTPAGB=="NORTH CRAY" & STBPCCTYGB=="KENT" & STRGDISTGB== "NORTH AYLESFORD" & STRGCNTYGB== "KENT"
replace mergeclink=1 if BPSTPAGB=="NORTHFLEET" & STBPCCTYGB=="KENT" & STRGDISTGB== "NORTH AYLESFORD" & STRGCNTYGB== "KENT"
replace mergeclink=1 if BPSTPAGB=="ALLINGTON" & STBPCCTYGB=="KENT" & STRGDISTGB== "MALLING" & STRGCNTYGB== "KENT"
replace mergeclink=1 if BPSTPAGB=="WALLINGTON" & STBPCCTYGB=="KENT" & STRGDISTGB== "MALLING" & STRGCNTYGB== "KENT"
replace mergeclink=1 if BPSTPAGB=="SELLINGE" & STBPCCTYGB=="KENT" & STRGDISTGB== "MALLING" & STRGCNTYGB== "KENT"
replace mergeclink=1 if BPSTPAGB=="SELLING" & STBPCCTYGB=="KENT" & STRGDISTGB== "MALLING" & STRGCNTYGB== "KENT"
replace mergeclink=1 if BPSTPAGB=="HALLING" & STBPCCTYGB=="KENT" & STRGDISTGB== "MALLING" & STRGCNTYGB== "KENT"
replace mergeclink=1 if BPSTPAGB=="STELLING" & STBPCCTYGB=="KENT" & STRGDISTGB== "MALLING" & STRGCNTYGB== "KENT"
replace mergeclink=1 if BPSTPAGB=="WEST BARMING" & STBPCCTYGB=="KENT" & STRGDISTGB== "WEST ASHFORD" & STRGCNTYGB== "KENT"
replace mergeclink=1 if BPSTPAGB=="WEST CLIFFE" & STBPCCTYGB=="KENT" & STRGDISTGB== "WEST ASHFORD" & STRGCNTYGB== "KENT"
replace mergeclink=1 if BPSTPAGB=="WEST WYCOMBE" & STBPCCTYGB=="KENT" & STRGDISTGB== "WEST ASHFORD" & STRGCNTYGB== "KENT"
replace mergeclink=1 if BPSTPAGB=="WEST MEON" & STBPCCTYGB=="KENT" & STRGDISTGB== "WEST ASHFORD" & STRGCNTYGB== "KENT"
replace mergeclink=1 if BPSTPAGB=="WEST PECKHAM" & STBPCCTYGB=="KENT" & STRGDISTGB== "WEST ASHFORD" & STRGCNTYGB== "KENT"
replace mergeclink=1 if BPSTPAGB=="WEST WICKHAM" & STBPCCTYGB=="KENT" & STRGDISTGB== "WEST ASHFORD" & STRGCNTYGB== "KENT"
replace mergeclink=1 if BPSTPAGB=="WEST LANGDON" & STBPCCTYGB=="KENT" & STRGDISTGB== "WEST ASHFORD" & STRGCNTYGB== "KENT"
replace mergeclink=1 if BPSTPAGB=="WEST HYTHE" & STBPCCTYGB=="KENT" & STRGDISTGB== "WEST ASHFORD" & STRGCNTYGB== "KENT"
replace mergeclink=1 if BPSTPAGB=="WEST ACKLAM" & STBPCCTYGB=="KENT" & STRGDISTGB== "WEST ASHFORD" & STRGCNTYGB== "KENT"
replace mergeclink=1 if BPSTPAGB=="EAST SUTTON" & STBPCCTYGB=="KENT" & STRGDISTGB== "EAST ASHFORD" & STRGCNTYGB== "KENT"
replace mergeclink=1 if BPSTPAGB=="EAST PECKHAM" & STBPCCTYGB=="KENT" & STRGDISTGB== "EAST ASHFORD" & STRGCNTYGB== "KENT"
replace mergeclink=1 if BPSTPAGB=="EAST OR WEST DEAN" & STBPCCTYGB=="KENT" & STRGDISTGB== "EAST ASHFORD" & STRGCNTYGB== "KENT"
replace mergeclink=1 if BPSTPAGB=="EAST WICKHAM" & STBPCCTYGB=="KENT" & STRGDISTGB== "EAST ASHFORD" & STRGCNTYGB== "KENT"
replace mergeclink=1 if BPSTPAGB=="SHENLEY" & STBPCCTYGB=="KENT" & STRGDISTGB== "SHEPPEY" & STRGCNTYGB== "KENT"
replace mergeclink=1 if BPSTPAGB=="THANINGTON" & STBPCCTYGB=="KENT" & STRGDISTGB== "THANET" & STRGCNTYGB== "KENT"
replace mergeclink=1 if BPSTPAGB=="FIELD" & STBPCCTYGB=="STAFFORDSHIRE" & STRGDISTGB== "LICHFIELD" & STRGCNTYGB== "STAFFORDSHIRE"
replace mergeclink=1 if BPSTPAGB=="BLITHFIELD" & STBPCCTYGB=="STAFFORDSHIRE" & STRGDISTGB== "LICHFIELD" & STRGCNTYGB== "STAFFORDSHIRE"
replace mergeclink=1 if BPSTPAGB=="AUDLEY" & STBPCCTYGB=="STAFFORDSHIRE" & STRGDISTGB== "DUDLEY" & STRGCNTYGB== "STAFFORDSHIRE"
replace mergeclink=1 if BPSTPAGB=="ALDERMINSTER" & STBPCCTYGB=="WORCESTERSHIRE" & STRGDISTGB== "KIDDERMINSTER" & STRGCNTYGB== "WORCESTERSHIRE"
